home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-08-07 | 2.3 KB | 103 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="5"
- "UIPATH"="Program Options\Microsoft Office\MS Office 2000\Common"
- "NAME"="Advanced"
- "VERSION"="1.15"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Use default Windows font instead of "Tahoma""
- "TEXT 2"="Track document editing time"
- "TEXT 3"="Enable Clipart Gallery Online"
- "TEXT 4"="Enable automatic appearance of "Clipboard" toolbar"
- "TEXT 5"="Enable "Office TuneUp utility" to be run from time to time"
- "DESCRIPTION 1"="Some options for Microsoft Office 2000"
- "DESCRIPTION 2"="NOTE: the Office 2000 Tune Up utility will not work under W2K. It does work under Win 9x and Win ME."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
- sV1="HKCU\Software\Policies\Microsoft\Office\9.0\Common\General\UseOfficeUIFont" 'DW
- sV2="HKCU\Software\Policies\Microsoft\Office\9.0\Common\General\NoTrack" 'DW
- sV3="HKCU\Software\Policies\Microsoft\Office\9.0\ClipGallery\DisableClipsOnline" 'DW
- sV4="HKCU\Software\Microsoft\Office\9.0\Common\General\AcbControl" 'DW 1=off, 0=on
- sV5="HKCU\Software\Microsoft\Office\9.0\Common\TuneUp\Disabled" 'DW 1=off, 0=on
-
-
- sPCheck="HKCU\Software\Microsoft\Office\9.0\"
- Sub Plugin_Initialize
- if RegPathExists(sPCheck) then
- i=RegReadValue(sV1)
- if i=0 and IsEmpty(i)=false then SetUiElement 1,true
-
- i=RegReadValue(sV2)
- if i<>1 then SetUiElement 2,true
-
- i=RegReadValue(sV3)
- if i<>1 then SetUiElement 3,true
-
- i=RegReadValue(sV4)
- if i<>1 then SetUiElement 4,true
-
- i=RegReadValue(sV5)
- if i<>1 then SetUiElement 5,true
-
- else
- disable()
- end if
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if GetUIElement(1)=true then
- i=0
- else
- i=1
- end if
- Call RegWriteValue(sV1,i,2)
-
- if GetUIElement(2)=true then
- i=0
- else
- i=1
- end if
- Call RegWriteValue(sV2,i,2)
-
- if GetUIElement(3)=true then
- i=0
- else
- i=1
- end if
- Call RegWriteValue(sV3,i,2)
-
- if GetUIElement(4)=true then
- i=0
- else
- i=1
- end if
- Call RegWriteValue(sV4,i,2)
-
- if GetUIElement(5)=true then
- i=0
- else
- i=1
- end if
- Call RegWriteValue(sV5,i,2)
-
-
- Call Logoff()
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-